﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>@ViewBag.Title</title>
    <meta name="description" content="@ViewBag.Description"/>
    <meta name="keywords" content="@ViewBag.Keywords" />
    <meta http-equiv="REFRESH" content="1800" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/cssFrontEnd/css/style.css")"/>
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/cssFrontEnd/css/style-responsive.css")"/>
    <script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery-ui-1.8.16.custom.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/jquery.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/common.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/custom.js")"></script>

    <script type="text/javascript">
        jQuery(document).ready(function () {
            var postURL = '@Url.Action("Set_Background", "Home")';
            //lay du lieu English
            $.post(postURL, function (data) {

                if (data.Id == "!") // khong lay duoc du lieu
                {
                    alert("something wrong");
                }
                else {
                    var image = "url('/Content/cssFrontEnd/images/" + data.Image + "')";
                    if (data.Show == true) {
                        $("#body").css("background-image", image);
                    }
                }

            });
            click();
        });

        function click() {
            var str = window.location.href;
            var n = str.split('#');
            if (n[1] != null) {
                var div = "#" + n[1];
                $('html, body').animate({ scrollTop: $(div).position().top - 100 }, 600);
                return false;
            }
        }
    </script>
</head>

<body id="body">
    <div class="wrapper">
        <div class="header">
            <div class="banner">
                <div class="top row-fluid">
                    <div class="logo span2">
                        <a href="@Url.Action("Index", "Home")">
                            <img src="@Url.Content("~/Content/cssFrontEnd/images/logo.png")" /></a>
                    </div>
                    <div class="menu span10">
                        <button type="button" class="btn btn-mainnav visible-phone" data-toggle="collapse" data-target=".navibar">
                            <span></span>
                            <span></span>
                            <span></span>
                        </button>
                        <div class="search pull-right">
                            <a class="en" href="http://vietnampremier.com">&nbsp;</a>
                            @Html.Partial("FormSearch")
                        </div>
                        <!--/ .search-->
                        <div class="sologun">
                            <img src="@Url.Content("~/Content/cssFrontEnd/images/sologun.png")" />
                        </div>
                        <div class="navibar navbar">
                            @Html.Action("Menu", "Home")
                        </div>
                    </div>
                    <!--/ .menu-->
                </div>
                <!--/ .top-->
                <div id="banner">
                   @Html.Action("Banner","Home")
                </div>
                <!--/ .banner-->
            </div>
            <!--/ .banner-->
        </div>
        <!--/ .header-->
        <div class="content container-fluid">
            @RenderBody()
            @Html.Action("OurClient", "Home")
        </div>
        <!--/.container-fluid -->
    </div>
    <!--/.wrapper -->
    @Html.Action("Footer","Home")
    <!--/.footer -->


    <!-- frmWrite -->
    <div id="frmWrite" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3>Write reviews</h3>
        </div>
        <div class="modal-body">
            <div class="form-horizontal">
                <div class="control-group">
                    <label class="control-label" for="inputWrite">Content:</label>
                    <div class="controls">
                        <div class="row-fluid">
                            <input type="text" id="inputWrite" class="span12" placeholder="Enter reviews.." />
                        </div>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button type="submit" class="btn btn-warning pull-left" data-dismiss="modal">Send</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--/frmWrite-->
</body>
</html>
